package com.wyh.lotterysystem.service;

import com.wyh.lotterysystem.controller.request.ActivityDetailRequest;
import com.wyh.lotterysystem.controller.request.ActivityListRequest;
import com.wyh.lotterysystem.controller.request.ActivityPrize;
import com.wyh.lotterysystem.controller.request.CreateActivityRequest;
import com.wyh.lotterysystem.controller.response.ActivityListResponse;
import com.wyh.lotterysystem.service.dto.ActivityDetailDTO;
import com.wyh.lotterysystem.service.dto.CreateActivityDTO;
import com.wyh.lotterysystem.service.dto.PageDTO;

public interface ActivityService {
    CreateActivityDTO createActivity(CreateActivityRequest request);

    PageDTO<ActivityListResponse.ActivityList> getActivityList(ActivityListRequest request);

    ActivityDetailDTO findActivityDetail(Integer activityId);

    void cacheActivityByActivityId(Integer activity);
}
